<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::aliOSS类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html">aliOSS</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d0/d8c/classwheels_1_1ali_o_s_s-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::aliOSS类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::aliOSS 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d7f/classwheels_1_1ali_o_s_s__inherit__graph.png" border="0" usemap="#awheels_1_1ali_o_s_s_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1ali_o_s_s_inherit__map" id="awheels_1_1ali_o_s_s_inherit__map">
<area shape="rect" title=" " alt="" coords="19,853,223,1584"/>
<area shape="rect" href="../../d7/d64/structwheels_1_1i_file_service.html" title=" " alt="" coords="5,5,236,805"/>
<area shape="poly" title=" " alt="" coords="123,820,123,853,118,853,118,820"/>
</map>
</div>
<div class="dynheader">
wheels::aliOSS 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d57/classwheels_1_1ali_o_s_s__coll__graph.png" border="0" usemap="#awheels_1_1ali_o_s_s_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1ali_o_s_s_coll__map" id="awheels_1_1ali_o_s_s_coll__map">
<area shape="rect" title=" " alt="" coords="19,853,223,1584"/>
<area shape="rect" href="../../d7/d64/structwheels_1_1i_file_service.html" title=" " alt="" coords="5,5,236,805"/>
<area shape="poly" title=" " alt="" coords="123,820,123,853,118,853,118,820"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a30ca1fd2a45039b0b058914225074620" id="r_a30ca1fd2a45039b0b058914225074620"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a30ca1fd2a45039b0b058914225074620">errCode</a> = <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a></td></tr>
<tr class="separator:a30ca1fd2a45039b0b058914225074620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_structwheels_1_1i_file_service"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_types_structwheels_1_1i_file_service')"><img src="../../closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">wheels::iFileService</a></td></tr>
<tr class="memitem:a4caa50c3e01e22c71bb52d16657c48d0 inherit pub_types_structwheels_1_1i_file_service" id="r_a4caa50c3e01e22c71bb52d16657c48d0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> { <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81">ERR_DOWNLOAD_OSS</a> = -10000
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69">ERR_SYS_VAR</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241">ERR_CANCEL_TRANSFER</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e">ERR_UNSUPPORTED_PROTOCOL</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18">ERR_INIT_CURL</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139">ERR_CONNECT_SVR</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845">ERR_FILE_DOWNLOAD_TRANSFER</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34">ERR_FILE_UPLOAD_TRANSFER</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579">ERR_CTX_NULL</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4">ERR_ALLOC_MEM</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0">ERR_CREATE_DEST_FILE</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2">ERR_CURL_SET_OPT</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741">ERR_USER_OR_PSWD</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567">ERR_CURL_PERFORM</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65">ERR_OPEN_LOC_FILE</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad">ERR_NO_SRC_FILE</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0">ERR_DESC_NULL</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446">ERR_EMPTY_URL</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516">ERR_FILE_NOT_FOUND</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d">ERR_ACCESS_NOT_SUPPORT</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9">STATUS_TRANS_FINISH</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3">STATUS_TRANSING</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8">ERR_INIT_FTP</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3">ERR_DELE_OSS_FILE</a>
, <br />
&#160;&#160;<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43">ERR_LS_OSS_FILE</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74">ERR_UPLOAD_OSS</a>
, <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78">OK</a> = 0
<br />
 }</td></tr>
<tr class="separator:a4caa50c3e01e22c71bb52d16657c48d0 inherit pub_types_structwheels_1_1i_file_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0436dadf8e1163df16c1753bc278ba24" id="r_a0436dadf8e1163df16c1753bc278ba24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0436dadf8e1163df16c1753bc278ba24">aliOSS</a> (const std::string &amp;)</td></tr>
<tr class="memdesc:a0436dadf8e1163df16c1753bc278ba24"><td class="mdescLeft">&#160;</td><td class="mdescRight">这个函数会从配置文件中读取介个配置参数。其他相关参数采用SDK默认值  <br /></td></tr>
<tr class="separator:a0436dadf8e1163df16c1753bc278ba24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa04a9ed2be918f89cd29bb1e4ffae5a1" id="r_aa04a9ed2be918f89cd29bb1e4ffae5a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa04a9ed2be918f89cd29bb1e4ffae5a1">aliOSS</a> (const std::string &amp;bucket, const std::string &amp;endpoint, const std::string &amp;acckeyId, const std::string &amp;acckeySec)</td></tr>
<tr class="separator:aa04a9ed2be918f89cd29bb1e4ffae5a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad49f8b1c25f604a64cdef6aaa82b8721" id="r_ad49f8b1c25f604a64cdef6aaa82b8721"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad49f8b1c25f604a64cdef6aaa82b8721">~aliOSS</a> ()</td></tr>
<tr class="separator:ad49f8b1c25f604a64cdef6aaa82b8721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1804b32c8d7332c05434d04032bec35" id="r_af1804b32c8d7332c05434d04032bec35"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af1804b32c8d7332c05434d04032bec35">bufferSize</a> (size_t s) final</td></tr>
<tr class="separator:af1804b32c8d7332c05434d04032bec35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a624d9ac0a0dcd5db39bbb46c2b9ca6cc" id="r_a624d9ac0a0dcd5db39bbb46c2b9ca6cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a624d9ac0a0dcd5db39bbb46c2b9ca6cc">overtime</a> (long ovt) final</td></tr>
<tr class="separator:a624d9ac0a0dcd5db39bbb46c2b9ca6cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3d24d7ed21669a57c47806d1d807b02" id="r_af3d24d7ed21669a57c47806d1d807b02"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af3d24d7ed21669a57c47806d1d807b02">download</a> (const std::string &amp;from, const std::string &amp;dest=&quot;&quot;, bool autoRun=true) final</td></tr>
<tr class="memdesc:af3d24d7ed21669a57c47806d1d807b02"><td class="mdescLeft">&#160;</td><td class="mdescRight">下载文件操作  <br /></td></tr>
<tr class="separator:af3d24d7ed21669a57c47806d1d807b02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae166624002962e005d289a98b7d44dfe" id="r_ae166624002962e005d289a98b7d44dfe"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae166624002962e005d289a98b7d44dfe">download</a> (const std::string &amp;from, const std::string &amp;dest, std::function&lt; bool(<a class="el" href="#a30ca1fd2a45039b0b058914225074620">errCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true) final</td></tr>
<tr class="memdesc:ae166624002962e005d289a98b7d44dfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">下载操作函数。操作完成后使用回调函数通知操作结果  <br /></td></tr>
<tr class="separator:ae166624002962e005d289a98b7d44dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f9de9cf082e69630acbc7a68eb49b42" id="r_a1f9de9cf082e69630acbc7a68eb49b42"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1f9de9cf082e69630acbc7a68eb49b42">download</a> (const std::string &amp;from, char *buffer, std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true) final</td></tr>
<tr class="memdesc:a1f9de9cf082e69630acbc7a68eb49b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">将数据下载到内存中  <br /></td></tr>
<tr class="separator:a1f9de9cf082e69630acbc7a68eb49b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa91d0a2225e168dc355ed6b82a08a621" id="r_aa91d0a2225e168dc355ed6b82a08a621"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa91d0a2225e168dc355ed6b82a08a621">download</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;dest, bool autoRun=true) final</td></tr>
<tr class="memdesc:aa91d0a2225e168dc355ed6b82a08a621"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量下载文件。  <br /></td></tr>
<tr class="separator:aa91d0a2225e168dc355ed6b82a08a621"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af11ac665480d5ba2fbef8a4d5d294660" id="r_af11ac665480d5ba2fbef8a4d5d294660"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af11ac665480d5ba2fbef8a4d5d294660">download</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;dest, std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true) final</td></tr>
<tr class="memdesc:af11ac665480d5ba2fbef8a4d5d294660"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量下载文件，使用回调函数通知操作结果和过程  <br /></td></tr>
<tr class="separator:af11ac665480d5ba2fbef8a4d5d294660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c61d77f25ef9dea32e80053742a5a77" id="r_a6c61d77f25ef9dea32e80053742a5a77"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6c61d77f25ef9dea32e80053742a5a77">upload</a> (const std::string &amp;file, const std::string &amp;remote_file, bool autoRun=true) final</td></tr>
<tr class="memdesc:a6c61d77f25ef9dea32e80053742a5a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">上传文件到服务器  <br /></td></tr>
<tr class="separator:a6c61d77f25ef9dea32e80053742a5a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2322e2d02d40bb34116aaed8d51a8589" id="r_a2322e2d02d40bb34116aaed8d51a8589"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2322e2d02d40bb34116aaed8d51a8589">upload</a> (const std::string &amp;file, const std::string &amp;remote_file, std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, size_t)&gt; cb, bool autoRun=true) final</td></tr>
<tr class="separator:a2322e2d02d40bb34116aaed8d51a8589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68926e3ee8ed4a544688030648e6a11b" id="r_a68926e3ee8ed4a544688030648e6a11b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a68926e3ee8ed4a544688030648e6a11b">upload</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, bool autoRun=true) final</td></tr>
<tr class="memdesc:a68926e3ee8ed4a544688030648e6a11b"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量上传操作  <br /></td></tr>
<tr class="separator:a68926e3ee8ed4a544688030648e6a11b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accb5424154991b92f37f274f15200113" id="r_accb5424154991b92f37f274f15200113"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#accb5424154991b92f37f274f15200113">upload</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;file, std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, size_t)&gt; cb, bool autoRun) final</td></tr>
<tr class="separator:accb5424154991b92f37f274f15200113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac156a5ce5e1b6a5a0a545086e85cfb04" id="r_ac156a5ce5e1b6a5a0a545086e85cfb04"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac156a5ce5e1b6a5a0a545086e85cfb04">del</a> (const std::string &amp;rem) final</td></tr>
<tr class="memdesc:ac156a5ce5e1b6a5a0a545086e85cfb04"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除远程文件  <br /></td></tr>
<tr class="separator:ac156a5ce5e1b6a5a0a545086e85cfb04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13eae86f9bd8716d6465bf883da8233c" id="r_a13eae86f9bd8716d6465bf883da8233c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a13eae86f9bd8716d6465bf883da8233c">setUser</a> (const std::string &amp;acc, const std::string &amp;pswd) final</td></tr>
<tr class="memdesc:a13eae86f9bd8716d6465bf883da8233c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置用户名和密码  <br /></td></tr>
<tr class="separator:a13eae86f9bd8716d6465bf883da8233c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1d44271c77d35e24604ec320f12481" id="r_a1a1d44271c77d35e24604ec320f12481"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1a1d44271c77d35e24604ec320f12481">addUrl</a> (const std::string &amp;url) final</td></tr>
<tr class="memdesc:a1a1d44271c77d35e24604ec320f12481"><td class="mdescLeft">&#160;</td><td class="mdescRight">指定URL  <br /></td></tr>
<tr class="separator:a1a1d44271c77d35e24604ec320f12481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7c50e1926a1395ba5b266fd179bccee" id="r_ae7c50e1926a1395ba5b266fd179bccee"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae7c50e1926a1395ba5b266fd179bccee">run</a> () final</td></tr>
<tr class="separator:ae7c50e1926a1395ba5b266fd179bccee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d6b0a72cb49c22ca27663d652d552a1" id="r_a3d6b0a72cb49c22ca27663d652d552a1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3d6b0a72cb49c22ca27663d652d552a1">run</a> (std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t, int, const std::string &amp;) &gt; cb) final</td></tr>
<tr class="separator:a3d6b0a72cb49c22ca27663d652d552a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e7693ef0431725000559b87767b28d" id="r_a68e7693ef0431725000559b87767b28d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a68e7693ef0431725000559b87767b28d">ls</a> (<a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;rst) final</td></tr>
<tr class="memdesc:a68e7693ef0431725000559b87767b28d"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出远程目录内容  <br /></td></tr>
<tr class="separator:a68e7693ef0431725000559b87767b28d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2380188d8ee91d8ac56dd4fefae6ede7" id="r_a2380188d8ee91d8ac56dd4fefae6ede7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2380188d8ee91d8ac56dd4fefae6ede7">ls</a> (std::function&lt; void(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;) &gt; cb) final</td></tr>
<tr class="separator:a2380188d8ee91d8ac56dd4fefae6ede7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a63b3f41a744e57ba759cd65fe9bcca" id="r_a9a63b3f41a744e57ba759cd65fe9bcca"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9a63b3f41a744e57ba759cd65fe9bcca">access</a> (const std::string &amp;url, int type) final</td></tr>
<tr class="memdesc:a9a63b3f41a744e57ba759cd65fe9bcca"><td class="mdescLeft">&#160;</td><td class="mdescRight">和linux access函数一样，用来检查文件的可访问性  <br /></td></tr>
<tr class="separator:a9a63b3f41a744e57ba759cd65fe9bcca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3367bb5c19db3eacd4dfdab3fea114ff" id="r_a3367bb5c19db3eacd4dfdab3fea114ff"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3367bb5c19db3eacd4dfdab3fea114ff">cd</a> (const std::string &amp;path) final</td></tr>
<tr class="memdesc:a3367bb5c19db3eacd4dfdab3fea114ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">切换远程目录路径  <br /></td></tr>
<tr class="separator:a3367bb5c19db3eacd4dfdab3fea114ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af748fd213d98fa485f3e29fd3358894e" id="r_af748fd213d98fa485f3e29fd3358894e"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af748fd213d98fa485f3e29fd3358894e">size</a> (const std::string &amp;file) final</td></tr>
<tr class="memdesc:af748fd213d98fa485f3e29fd3358894e"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取远程文件的文件大小  <br /></td></tr>
<tr class="separator:af748fd213d98fa485f3e29fd3358894e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwheels_1_1i_file_service"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_structwheels_1_1i_file_service')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">wheels::iFileService</a></td></tr>
<tr class="memitem:aaef3e45a097583e13ad0a506f6f16e69 inherit pub_methods_structwheels_1_1i_file_service" id="r_aaef3e45a097583e13ad0a506f6f16e69"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#aaef3e45a097583e13ad0a506f6f16e69">~iFileService</a> ()</td></tr>
<tr class="separator:aaef3e45a097583e13ad0a506f6f16e69 inherit pub_methods_structwheels_1_1i_file_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_structwheels_1_1i_file_service"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_static_methods_structwheels_1_1i_file_service')"><img src="../../closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">wheels::iFileService</a></td></tr>
<tr class="memitem:a963d48b061a3e66bd4b3cd73123262db inherit pub_static_methods_structwheels_1_1i_file_service" id="r_a963d48b061a3e66bd4b3cd73123262db"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a963d48b061a3e66bd4b3cd73123262db">errMsg</a> (<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> e)</td></tr>
<tr class="separator:a963d48b061a3e66bd4b3cd73123262db inherit pub_static_methods_structwheels_1_1i_file_service"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a> 第 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html#l00022">22</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="a30ca1fd2a45039b0b058914225074620" name="a30ca1fd2a45039b0b058914225074620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30ca1fd2a45039b0b058914225074620">&#9670;&#160;</a></span>errCode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">wheels::aliOSS::errCode</a> = <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a> 第 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a0436dadf8e1163df16c1753bc278ba24" name="a0436dadf8e1163df16c1753bc278ba24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0436dadf8e1163df16c1753bc278ba24">&#9670;&#160;</a></span>aliOSS() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aliOSS::aliOSS </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>这个函数会从配置文件中读取介个配置参数。其他相关参数采用SDK默认值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">预留暂时没有用</td><td>/fileService/aliOSS/endpoint /fileService/aliOSS/secId /fileService/aliOSS/secKey /fileService/aliOSS/bucketName </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00019">19</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a0436dadf8e1163df16c1753bc278ba24_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a0436dadf8e1163df16c1753bc278ba24_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a0436dadf8e1163df16c1753bc278ba24_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a0436dadf8e1163df16c1753bc278ba24_cgraph">
<area shape="rect" title="这个函数会从配置文件中读取介个配置参数。其他相关参数采用SDK默认值" alt="" coords="5,56,166,83"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a9a63b3f41a744e57ba759cd65fe9bcca" title="和linux access函数一样，用来检查文件的可访问性" alt="" coords="214,5,375,32"/>
<area shape="poly" title=" " alt="" coords="143,53,221,34,222,39,144,58"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="423,31,616,57"/>
<area shape="poly" title=" " alt="" coords="166,62,407,48,407,53,166,67"/>
<area shape="rect" href="../../dc/d64/sys__var_8cpp.html#ae6855353a92d0d6c3123e1444a50cc17" title=" " alt="" coords="226,107,363,133"/>
<area shape="poly" title=" " alt="" coords="144,81,222,100,221,105,143,86"/>
<area shape="poly" title=" " alt="" coords="376,25,408,29,407,34,375,30"/>
</map>
</div>

</div>
</div>
<a id="aa04a9ed2be918f89cd29bb1e4ffae5a1" name="aa04a9ed2be918f89cd29bb1e4ffae5a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa04a9ed2be918f89cd29bb1e4ffae5a1">&#9670;&#160;</a></span>aliOSS() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aliOSS::aliOSS </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>bucket</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>endpoint</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>acckeyId</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>acckeySec</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00053">53</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_aa04a9ed2be918f89cd29bb1e4ffae5a1_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_aa04a9ed2be918f89cd29bb1e4ffae5a1_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_aa04a9ed2be918f89cd29bb1e4ffae5a1_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_aa04a9ed2be918f89cd29bb1e4ffae5a1_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,166,32"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="214,5,407,32"/>
<area shape="poly" title=" " alt="" coords="166,16,198,16,198,21,166,21"/>
</map>
</div>

</div>
</div>
<a id="ad49f8b1c25f604a64cdef6aaa82b8721" name="ad49f8b1c25f604a64cdef6aaa82b8721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad49f8b1c25f604a64cdef6aaa82b8721">&#9670;&#160;</a></span>~aliOSS()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aliOSS::~aliOSS </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00074">74</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a9a63b3f41a744e57ba759cd65fe9bcca" name="a9a63b3f41a744e57ba759cd65fe9bcca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a63b3f41a744e57ba759cd65fe9bcca">&#9670;&#160;</a></span>access()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">aliOSS::errCode</a> aliOSS::access </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>type</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>和linux access函数一样，用来检查文件的可访问性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">url[</td><td>I ]， 要访问的文件的路径 </td></tr>
    <tr><td class="paramname">type[</td><td>I ]， 检查的类型 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>操作成功返回OK ，否则返回错误代码 </dd></dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a6b200bd334596fb97137ebe61b6034e2">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00505">505</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_cgraph">
<area shape="rect" title="和linux access函数一样，用来检查文件的可访问性" alt="" coords="5,5,167,32"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="215,5,408,32"/>
<area shape="poly" title=" " alt="" coords="167,16,199,16,199,21,167,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_icgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_icgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_icgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a9a63b3f41a744e57ba759cd65fe9bcca_icgraph">
<area shape="rect" title="和linux access函数一样，用来检查文件的可访问性" alt="" coords="214,5,375,32"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a0436dadf8e1163df16c1753bc278ba24" title="这个函数会从配置文件中读取介个配置参数。其他相关参数采用SDK默认值" alt="" coords="5,5,166,32"/>
<area shape="poly" title=" " alt="" coords="198,21,166,21,166,16,198,16"/>
</map>
</div>

</div>
</div>
<a id="a1a1d44271c77d35e24604ec320f12481" name="a1a1d44271c77d35e24604ec320f12481"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a1d44271c77d35e24604ec320f12481">&#9670;&#160;</a></span>addUrl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::addUrl </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>指定URL </p>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a92213b2aa32dc9d1abce057005d56ab3">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00432">432</a> 行定义.</p>

</div>
</div>
<a id="af1804b32c8d7332c05434d04032bec35" name="af1804b32c8d7332c05434d04032bec35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1804b32c8d7332c05434d04032bec35">&#9670;&#160;</a></span>bufferSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::aliOSS::bufferSize </td>
          <td>(</td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>s</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4c8066770e383bad17dabe1fad804779">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a> 第 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html#l00077">77</a> 行定义.</p>

</div>
</div>
<a id="a3367bb5c19db3eacd4dfdab3fea114ff" name="a3367bb5c19db3eacd4dfdab3fea114ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3367bb5c19db3eacd4dfdab3fea114ff">&#9670;&#160;</a></span>cd()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">aliOSS::errCode</a> aliOSS::cd </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>切换远程目录路径 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>， 路径字符串 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a7a9cd7da47b67cd365bc9060ffd91f46">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00521">521</a> 行定义.</p>

</div>
</div>
<a id="ac156a5ce5e1b6a5a0a545086e85cfb04" name="ac156a5ce5e1b6a5a0a545086e85cfb04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac156a5ce5e1b6a5a0a545086e85cfb04">&#9670;&#160;</a></span>del()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool aliOSS::del </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>rem</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除远程文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rem[</td><td>I ] 远程文件名 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#aa40dbce4a27a4eda48c863eed681ec5c">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00411">411</a> 行定义.</p>

</div>
</div>
<a id="aa91d0a2225e168dc355ed6b82a08a621" name="aa91d0a2225e168dc355ed6b82a08a621"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa91d0a2225e168dc355ed6b82a08a621">&#9670;&#160;</a></span>download() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool aliOSS::download </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量下载文件。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ] </td></tr>
    <tr><td class="paramname">dest[</td><td>I ] </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true, 否则返回false </dd></dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a5bcaea2ba4f416a19479b33c021d1088">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00218">218</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_aa91d0a2225e168dc355ed6b82a08a621_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_aa91d0a2225e168dc355ed6b82a08a621_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_aa91d0a2225e168dc355ed6b82a08a621_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_aa91d0a2225e168dc355ed6b82a08a621_cgraph">
<area shape="rect" title="批量下载文件。" alt="" coords="5,5,180,32"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="228,5,421,32"/>
<area shape="poly" title=" " alt="" coords="180,16,212,16,212,21,180,21"/>
</map>
</div>

</div>
</div>
<a id="af11ac665480d5ba2fbef8a4d5d294660" name="af11ac665480d5ba2fbef8a4d5d294660"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af11ac665480d5ba2fbef8a4d5d294660">&#9670;&#160;</a></span>download() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::download </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量下载文件，使用回调函数通知操作结果和过程 </p>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a68d1d4801f66115b8db3577ef2488a0b">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00239">239</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_af11ac665480d5ba2fbef8a4d5d294660_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_af11ac665480d5ba2fbef8a4d5d294660_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_af11ac665480d5ba2fbef8a4d5d294660_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_af11ac665480d5ba2fbef8a4d5d294660_cgraph">
<area shape="rect" title="批量下载文件，使用回调函数通知操作结果和过程" alt="" coords="5,5,180,32"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="228,5,421,32"/>
<area shape="poly" title=" " alt="" coords="180,16,212,16,212,21,180,21"/>
</map>
</div>

</div>
</div>
<a id="a1f9de9cf082e69630acbc7a68eb49b42" name="a1f9de9cf082e69630acbc7a68eb49b42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f9de9cf082e69630acbc7a68eb49b42">&#9670;&#160;</a></span>download() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *</td>          <td class="paramname"><span class="paramname"><em>buffer</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将数据下载到内存中 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ]源文件 </td></tr>
    <tr><td class="paramname">buffer[</td><td>O ] 目标内存 </td></tr>
    <tr><td class="paramname">cb[</td><td>I ] 回调函数 </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ] 是否自动运行 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#adc6c882edb72e2b071088d08b248d4fa">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00178">178</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a1f9de9cf082e69630acbc7a68eb49b42_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a1f9de9cf082e69630acbc7a68eb49b42_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a1f9de9cf082e69630acbc7a68eb49b42_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a1f9de9cf082e69630acbc7a68eb49b42_cgraph">
<area shape="rect" title="将数据下载到内存中" alt="" coords="5,5,180,32"/>
<area shape="rect" href="../../d3/d47/classwheels_1_1debug.html#a5fa52d8a6d24d2f6686055e7cefa04b6" title=" " alt="" coords="228,5,421,32"/>
<area shape="poly" title=" " alt="" coords="180,16,212,16,212,21,180,21"/>
</map>
</div>

</div>
</div>
<a id="ae166624002962e005d289a98b7d44dfe" name="ae166624002962e005d289a98b7d44dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae166624002962e005d289a98b7d44dfe">&#9670;&#160;</a></span>download() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::aliOSS::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a30ca1fd2a45039b0b058914225074620">errCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>下载操作函数。操作完成后使用回调函数通知操作结果 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cb,操作完成后的回调函数。这个函数用来通知操作结果，函数的原型如下：</td><td>bool fun( errCode err , size_t dataSize , const std::string&amp; fileStorePath ); 返回值主要用来控制在多个文件下载的时候如果一个文件下载后是否需要再执行下一个下载操作 </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#abbf6f4f25334a5d82fa9c58f05333ab9">wheels::iFileService</a>.</p>

</div>
</div>
<a id="af3d24d7ed21669a57c47806d1d807b02" name="af3d24d7ed21669a57c47806d1d807b02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3d24d7ed21669a57c47806d1d807b02">&#9670;&#160;</a></span>download() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool aliOSS::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span><span class="paramdefsep"> = </span><span class="paramdefval">&quot;&quot;</span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>下载文件操作 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ]源文件 </td></tr>
    <tr><td class="paramname">dest[</td><td>I ]目标文件 </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ]，自动开始执行操作 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>操作成功返回true，否则返回false </dd></dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a3f9d8e38826f754a709365f8890bab96">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00105">105</a> 行定义.</p>

</div>
</div>
<a id="a68e7693ef0431725000559b87767b28d" name="a68e7693ef0431725000559b87767b28d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68e7693ef0431725000559b87767b28d">&#9670;&#160;</a></span>ls() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">aliOSS::errCode</a> aliOSS::ls </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>rst</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>列出远程目录内容 </p>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#ae5e67d4a2f534826e5493ed89ba450a3">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00458">458</a> 行定义.</p>

</div>
</div>
<a id="a2380188d8ee91d8ac56dd4fefae6ede7" name="a2380188d8ee91d8ac56dd4fefae6ede7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2380188d8ee91d8ac56dd4fefae6ede7">&#9670;&#160;</a></span>ls() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::ls </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a13fcf3f28b7bbf58f83321e93fb7a600">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00477">477</a> 行定义.</p>

</div>
</div>
<a id="a624d9ac0a0dcd5db39bbb46c2b9ca6cc" name="a624d9ac0a0dcd5db39bbb46c2b9ca6cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a624d9ac0a0dcd5db39bbb46c2b9ca6cc">&#9670;&#160;</a></span>overtime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::aliOSS::overtime </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>ovt</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#abf692c0a9ad3c30b48580ffa37b92300">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a> 第 <a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html#l00082">82</a> 行定义.</p>

</div>
</div>
<a id="ae7c50e1926a1395ba5b266fd179bccee" name="ae7c50e1926a1395ba5b266fd179bccee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7c50e1926a1395ba5b266fd179bccee">&#9670;&#160;</a></span>run() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::run </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a1596fd99e0831eb2ec2cabc4c712dee3">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00437">437</a> 行定义.</p>

</div>
</div>
<a id="a3d6b0a72cb49c22ca27663d652d552a1" name="a3d6b0a72cb49c22ca27663d652d552a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d6b0a72cb49c22ca27663d652d552a1">&#9670;&#160;</a></span>run() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::run </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t, int, const std::string &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#ac59b73319c207e2584e1c83c31396f8e">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00447">447</a> 行定义.</p>

</div>
</div>
<a id="a13eae86f9bd8716d6465bf883da8233c" name="a13eae86f9bd8716d6465bf883da8233c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13eae86f9bd8716d6465bf883da8233c">&#9670;&#160;</a></span>setUser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::setUser </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>acc</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>pswd</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置用户名和密码 </p>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a3c4fdddfdaf3ede63c2e888a70e04ef5">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00426">426</a> 行定义.</p>

</div>
</div>
<a id="af748fd213d98fa485f3e29fd3358894e" name="af748fd213d98fa485f3e29fd3358894e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af748fd213d98fa485f3e29fd3358894e">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t aliOSS::size </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>读取远程文件的文件大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file[</td><td>I ] 文件路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回文件大小 </dd></dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a5f1bf441284256b7f2799a4885345825">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00530">530</a> 行定义.</p>

</div>
</div>
<a id="accb5424154991b92f37f274f15200113" name="accb5424154991b92f37f274f15200113"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accb5424154991b92f37f274f15200113">&#9670;&#160;</a></span>upload() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::upload </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, size_t)&gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a5a882fb4e07e8471ed2392c8914c5f23">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00385">385</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_accb5424154991b92f37f274f15200113_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_accb5424154991b92f37f274f15200113_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_accb5424154991b92f37f274f15200113_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_accb5424154991b92f37f274f15200113_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,163,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a7d89edea2694a572f10f019e2b0731c5" title="从路径中抽取文件名。" alt="" coords="211,5,284,32"/>
<area shape="poly" title=" " alt="" coords="163,16,195,16,195,21,163,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="332,5,399,32"/>
<area shape="poly" title=" " alt="" coords="285,16,316,16,316,21,285,21"/>
</map>
</div>

</div>
</div>
<a id="a68926e3ee8ed4a544688030648e6a11b" name="a68926e3ee8ed4a544688030648e6a11b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68926e3ee8ed4a544688030648e6a11b">&#9670;&#160;</a></span>upload() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool aliOSS::upload </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量上传操作 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ] </td></tr>
    <tr><td class="paramname">dest[</td><td>I ] </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a0af74d6a59403a3270013c71d5445114">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00358">358</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a68926e3ee8ed4a544688030648e6a11b_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a68926e3ee8ed4a544688030648e6a11b_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a68926e3ee8ed4a544688030648e6a11b_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a68926e3ee8ed4a544688030648e6a11b_cgraph">
<area shape="rect" title="批量上传操作" alt="" coords="5,5,163,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a7d89edea2694a572f10f019e2b0731c5" title="从路径中抽取文件名。" alt="" coords="211,5,284,32"/>
<area shape="poly" title=" " alt="" coords="163,16,195,16,195,21,163,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="332,5,399,32"/>
<area shape="poly" title=" " alt="" coords="285,16,316,16,316,21,285,21"/>
</map>
</div>

</div>
</div>
<a id="a6c61d77f25ef9dea32e80053742a5a77" name="a6c61d77f25ef9dea32e80053742a5a77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c61d77f25ef9dea32e80053742a5a77">&#9670;&#160;</a></span>upload() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool aliOSS::upload </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>remote_file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>上传文件到服务器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file[</td><td>I ], 本地文件 </td></tr>
    <tr><td class="paramname">remote_file[</td><td>I ], 远程文件 </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ]，调用后是否自动运行，如果不是自动运行任务将在后台挂起 </td></tr>
    <tr><td class="paramname">cb[</td><td>I ], 进度回调函数用来通知上传进度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true，否则返回false </dd></dl>
<dl class="section note"><dt>注解</dt><dd>目前仅仅支持自动运行 </dd></dl>

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#ad9b1abef0edcb8552d170cc2b5034477">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00300">300</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a6c61d77f25ef9dea32e80053742a5a77_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a6c61d77f25ef9dea32e80053742a5a77_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a6c61d77f25ef9dea32e80053742a5a77_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a6c61d77f25ef9dea32e80053742a5a77_cgraph">
<area shape="rect" title="上传文件到服务器" alt="" coords="5,5,163,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a7d89edea2694a572f10f019e2b0731c5" title="从路径中抽取文件名。" alt="" coords="211,5,284,32"/>
<area shape="poly" title=" " alt="" coords="163,16,195,16,195,21,163,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="332,5,399,32"/>
<area shape="poly" title=" " alt="" coords="285,16,316,16,316,21,285,21"/>
</map>
</div>

</div>
</div>
<a id="a2322e2d02d40bb34116aaed8d51a8589" name="a2322e2d02d40bb34116aaed8d51a8589"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2322e2d02d40bb34116aaed8d51a8589">&#9670;&#160;</a></span>upload() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void aliOSS::upload </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>remote_file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a4caa50c3e01e22c71bb52d16657c48d0">errCode</a>, size_t)&gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>实现了 <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html#a7dbd584d9b1b67c3ad196d184aa50a5a">wheels::iFileService</a>.</p>

<p class="definition">在文件 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a> 第 <a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html#l00323">323</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d0b/classwheels_1_1ali_o_s_s_a2322e2d02d40bb34116aaed8d51a8589_cgraph.png" border="0" usemap="#adb/d0b/classwheels_1_1ali_o_s_s_a2322e2d02d40bb34116aaed8d51a8589_cgraph" alt=""/></div>
<map name="adb/d0b/classwheels_1_1ali_o_s_s_a2322e2d02d40bb34116aaed8d51a8589_cgraph" id="adb/d0b/classwheels_1_1ali_o_s_s_a2322e2d02d40bb34116aaed8d51a8589_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,163,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#a7d89edea2694a572f10f019e2b0731c5" title="从路径中抽取文件名。" alt="" coords="211,5,284,32"/>
<area shape="poly" title=" " alt="" coords="163,16,195,16,195,21,163,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="332,5,399,32"/>
<area shape="poly" title=" " alt="" coords="285,16,316,16,316,21,285,21"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/details/<a class="el" href="../../da/d3c/ali_o_s_s_8hpp_source.html">aliOSS.hpp</a></li>
<li>src/details/<a class="el" href="../../de/d0c/ali_o_s_s_8cpp_source.html">aliOSS.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
